package com.cloudkinto.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cloudkinto.vo.user.UserPageVo;
import com.cloudkinto.entity.UserDo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author 张永远
 * @since 2020-05-27
 */
@Mapper
public interface UserDao extends BaseMapper<UserDo> {
    IPage<UserPageVo> list(@Param("page") IPage<UserPageVo> page, @Param("map") Map<String, Object> map);
}
